import styled from "styled-components";

export const RoomItemWrapper = styled.div`
  
  cursor: pointer;
  .img {
    position: relative;
    width: ${(props) => props.verifyWidth};
    height: ${(props) => props.verifyHeight};
    border-radius: 12px;
    /* background-color: skyblue; */
    overflow: hidden;

    .img-title {
      position: absolute;
      top: 10px;
      left: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 94px;
      height: 20px;
      background-color: #fff;
      border-radius: 6px;
      z-index: 9;
      .subtitle {
        color: #222;
        font-size: 14px;
        font-weight: 700;
      }
    }

    img {
      height: 100%;
      margin: 0 auto;
    }
  }
  .address-clicks {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    .address {
      display: flex;
      color: ${(props) => props.verifyColor};
      font-size: 12px;
      padding: 2px 5px;
      border-radius: 2px;
      background-color: #ebebeb;
      justify-content: center;
      font-weight: 700;
    }
    .clicks {
      display: flex;
      font-size: 16px;
    }
  }
  .title {
    font-size: 16px;
    color: #222;
    font-weight: 700;
  }
  .price {
    display: flex;
    margin-top: 10px;
    font-size: 16px;
    color: #222;
    font-weight: 700;
    vertical-align: bottom;
    .t1 {
      font-size: 16px;
      color: #222;
      font-weight: 700;
    }
    .t2 {
      font-size: 12px;
      color: #222;
      font-weight: 500;
      margin-left: 5px;
      margin-top: 4px;
    }
  }
`;
